package com.xyulu;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

/**
 * @author luming
 * @version 1.0
 * @date
 */
@SpringBootApplication
@EnableEurekaClient
@EnableCircuitBreaker //开启断路器
public class HystrixApplication {

    public static void main(String[] args) {

        SpringApplication.run(HystrixApplication.class, args);

    }
}
